import {
    post,
    get,
    put,
    dalete,
    postJosn,
    putone,
    patch,
    daleteJson,
    download
  } from '../utils/request';
  
  
 //预售查询
 export function queryPresaleOrderList(data) {
    return post('/api/trade-service/v1/myorder/queryPresaleOrderList', data);
  }
  
//预售统计
export function queryPresaleOrderTotal(data) {
  return post('/api/trade-service/v1/myorder/queryPresaleOrderTotal', data);
}


  //抽奖记录
export function qryActivityLottery(data) {
  return post('/api/promotion-service/v1/ActivityLottery/qryActivityLottery', data);
}
  //奖品等级
export function getlotteryLevelList(data) {
  return get('/api/promotion-service/v1/prize/getPriceConfig', data);
}


//中奖导出
export function toExcelJoinStore(data) {
  return download('/api/promotion-service/v1/ActivityLottery/excelLotteryData', data);
}

// 预售订单统计导出
export function toExcelQueryPresaleOrder(data) {
  return download('/api/trade-service/v1/myorder/exportQueryPresaleOrder', data);
}
